<template>
  <div class="home2">
   <div style="align-items: center;height: 70px;">
    <div class="nav">
      <router-link to="/">收入</router-link> |
      <router-link to="/home2">支出</router-link>
    </div>
   </div>
    <h1>This is an about page</h1>
  </div>
</template>

<style>
.nav {
  padding: 30px;
}

.nav a {
  font-weight: bold;
  color: #2c3e50;
}

.nav a.router-link-exact-active {
  /* color: #42b983; */
  color: white;
}
</style>